class CreateMembers < ActiveRecord::Migration
  def self.up
    create_table :members do |t|
       t.column :compound_name, :string
       t.column :postal_address, :string
       t.column :postal_code, :string
       t.column :postal_city, :string
       t.column :commitment_code, :string
       t.column :segment_code, :string
       t.column :active, :int
       t.column :active_code, :string
    end
  end

  def self.down
    drop_table :members
  end
end
